#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int arr[3] = { 0 };
	int i = 0;
	for (i=0;i<3;i++)
	{
		scanf("%d", &arr[i]);
	}
	int max,min;
	double aver = 0;
	double sum = 0;
	max = arr[0];
	min = arr[0];
	for (i = 0; i < 3; i++)
	{
		if (arr[i] > max)
			max = arr[i];
		if (arr[i] < min)
			min = arr[i];
		sum += arr[i];
	}
	aver = sum / 3;
	printf("%d %d %lf", max, min, aver);
	return 0;
}